<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\admin\controller;

use think\Request;

/**
 * Moban 类
 *
 * @since version:1.0(2016-11-8); author:SoChishun(14507247@qq.com); desc:Added.
 */
class Moban {

    public function _empty(Request $request) {
        return $this->showView($request);
    }

    //注意 showView方法 本身是 protected 方法
    protected function showView($request) {
        return view($request->action());
    }

}
